
body{
    display: flex;
    flex-direction: column;
}
// 头部
header{
    width: 100%;
    height: 35px;
    background: #4294FF;
    .personal-box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 35px;
        background: #4294FF;
        color: #fff;
        .personal-btn{
            width: 50px;
            font-size: 25px;
        }
        .text{
            flex: 1;
            text-align: center;
            text-indent: -50px;
        }
    }
}
//首页的less
main{
    flex: 1;
    width: 100%;
    overflow: scroll;
    .personal{
        width: 100%;
        height: 35px;
        background: #4294FF;

       
        
    }

    // 头像同步
    .photo-img{
        width: 60px;
        height: 60px;
        // background: url('../../assets/imgs/def.jpg') no-repeat;
        background-size: cover;
        border-radius: 50px;
    }
    .photo{
        // position: relative;
        width: 100%;
        height: 80px;
        background: #fff;

        .photo-box{
            display:flex;
            justify-content:space-between;
            align-items: center;
            width: 100%;
            height: 79px;
            font-size: 14px;
            border-bottom: 1px solid #ccc;
           
            .photo-text{
                flex: 1;
                text-align: left;
            }
          
            .photo-btn{
                width:30px;
                height: 30px;
                font-size: 25px;
                text-align: right;
              
            }
        }
      
       
    }

    .user-name{
        width: 100%;
        height: 60px;
        background: #fff;

        .user-name-box{
            display:flex;
            justify-content:space-between;
            align-items: center;
            width: 100%;
            height: 59px;
            font-size: 14px;
            border-bottom: 1px solid #ccc;

                .user-name-text{
                    flex: 1;
                    text-align: left;
                }

                .user-name-btn{
                    width: 100px;
                    text-align: center;
                    color: #ccc;
                }
        }


    }


    .gender{
        width: 100%;
        height: 60px;
        background: #fff;

            .gender-box{
                display:flex;
                justify-content:space-between;
                align-items: center;
                width: 100%;
                height: 59px;
                font-size: 14px;
                border-bottom: 1px solid #ccc;

                .text{
                    flex: 1;
                    text-align: left;
                } 
                .gender-option{
                    width: 50px;
                    text-align: right;
                    color: #ccc;
                }
                .btn{
                    text-align: right;
                    width: 40px;
                    font-size: 25px;
                    color: #ccc;
                }

        }

        .bottom-box{
            display: flex;
            width: 100%;
            height: 100px;

            .all-motion{
                margin-bottom: 20px;
                width:calc(50% - 1px);
                min-height: 20px; 
                border-right: 1px solid #ccc;

                .title{
                    width: 100%;
                    height: 20px;
                    color: #ccc;

                   

                }
                .text{
                    width:100%;
                    height: 20px; 

                }
                .text>span:nth-child(1){
                    font-size: 45px;
                    color: aqua;
                }

            }
            .week-motion{
                width: 50%;
                height: 100px;
                text-indent: 15px;

                .title{
                    width: 100%;
                    height: 20px;
                    color: #ccc;
                }
                .text{
                    width:100%;
                    height: 20px; 

                }
                .text>span:nth-child(1){
                    font-size: 45px;
                    color: aqua;
                }
            }
        }

    }

    .birthday{
        width: 100%;
        height: 60px;
        background: #fff;

            .birthday-box{
                display:flex;
                justify-content:space-between;
                align-items: center;
                width: 100%;
                height: 59px;
                font-size: 14px;
                border-bottom: 1px solid #ccc;

                .text{
                    flex: 1;
                    text-align: left;
                } 
                .birthday-option{
                    width: 150px;
                    text-align: right;
                    color: #ccc;
                }
                .birthday-btn{
                    text-align: right;
                    width: 40px;
                    font-size: 25px;
                    color: #ccc;
                }

        }
    }

    .address{
        width: 100%;
        height: 60px;
        background: #fff;

            .address-box{
                display:flex;
                justify-content:space-between;
                align-items: center;
                width: 100%;
                height: 59px;
                font-size: 14px;
                border-bottom: 1px solid #ccc;

                .text{
                    flex: 1;
                    text-align: left;
                } 
                .address-option{
                    width: 150px;
                    text-align: right;
                    color: #ccc;
                }
                .address-btn{
                    text-align: right;
                    width: 40px;
                    font-size: 25px;
                    color: #ccc;
                }

        }
    }

    .city{
        width: 100%;
        height: 60px;
        background: #fff;

            .city-box{
                display:flex;
                justify-content:space-between;
                align-items: center;
                width: 100%;
                height: 59px;
                font-size: 14px;
                border-bottom: 1px solid #ccc;

                .text{
                    flex: 1;
                    text-align: left;
                } 
                .city-option{
                    width: 150px;
                    text-align: right;
                    color: #ccc;
                }
                .city-btn{
                    text-align: right;
                    width: 40px;
                    font-size: 25px;
                    color: #ccc;
                }

        }
    }

    .intro{
        width: 100%;
        min-height: 60px;
        background: #fff;

            .intro-box{
                display:flex;
                justify-content:space-between;
                align-items: center;
                width: 100%;
                min-height: 60px;
                font-size: 14px;

                .text{
                    flex: 1;
                    text-align: left;
                } 
            }
            .inp{
                position: relative;
                overflow: hidden;
                width: 100%;
                height: 120px;
                background: rgba(204, 204, 204,0.3); 
                border-radius: 15px;
                overflow: hidden;
                font-size: 10px;

                .inptext{
                    width:calc(100% - 2px);
                    height:calc(100% - 2px);
                    background: rgba(204, 204, 204,0); 
                    text-indent: 15px;
                    border-radius: 15px;
                    resize: none;
                }
                .text{
                    position: absolute;
                    right: 0;
                    top: 50%;
                    width: 100px;
                    height: 20px; 
                    text-align: right;
                    font-size: 10px;
                    color: #ccc;
                }
            }
        }


    .submit{
        margin: 20px auto;
        width: 70%;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 50px;
        background: #4294FF;
        color: #fff;
    }
}
// 头像蒙层
.show-personal{
    display: flex;
    flex-direction: column;
    margin: auto;
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(51, 48, 48, 1);

    .photo-img{
        margin: 40px auto;
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
    .btn{
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 100px;

        .file-box{
            position: relative;
            width: 100px;
            height: 25px;
            background: #ccc;
            border-radius: 15px;
            line-height: 25px;
            text-align: center;

            input{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                outline: 0;
                border: 0;
                outline: none;
                // background-color: transparent;
                // filter:alpha(opacity=0);
                // // -moz-opacity:0;
                // // -khtml-opacity: 0;
                opacity: 0;
            }
        }

        button{
        position: relative;
        width: 80px;
        height: 25px;
        background: #ccc;
        border-radius: 15px;
        line-height: 25px;
        text-align: center;
    }
    }

    
    
}
// 显示蒙层
.showHerght{
    margin-top: 35px;
    height: 100%;
}



